package org.flint92.springboot.test.listener;

import org.springframework.test.context.TestContext;
import org.springframework.test.context.TestExecutionListener;

/**
 * @author flint92
 */
public class PersonIntegrationListener implements TestExecutionListener {

    @Override
    public void beforeTestMethod(TestContext testContext) throws Exception {
        System.err.println("before: " + testContext.getTestMethod());
    }

    @Override
    public void afterTestMethod(TestContext testContext) throws Exception {
        System.err.println("after: " + testContext.getTestMethod());
    }
}
